package com.itheima.domain;

public class Permission {
    private String id;
    private String permissionName;
    private String url;
    private int ctype;
    private int parent_id;

    private Permission permission;

    public Permission() {
    }

    public Permission(String id, String permissionName, String url, int ctype, int parent_id, Permission permission) {
        this.id = id;
        this.permissionName = permissionName;
        this.url = url;
        this.ctype = ctype;
        this.parent_id = parent_id;
        this.permission = permission;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPermissionName() {
        return permissionName;
    }

    public void setPermissionName(String permissionName) {
        this.permissionName = permissionName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getCtype() {
        return ctype;
    }

    public void setCtype(int ctype) {
        this.ctype = ctype;
    }

    public int getParent_id() {
        return parent_id;
    }

    public void setParent_id(int parent_id) {
        this.parent_id = parent_id;
    }

    public Permission getPermission() {
        return permission;
    }

    public void setPermission(Permission permission) {
        this.permission = permission;
    }
}
